import { RouteConfig } from 'vue-router'
import Layout from '@/layout/index.vue'

const storeRouter: RouteConfig = {
  path: '/storeCenter',
  component: Layout,
  redirect: 'noredirect',
  name: 'storeCenter',
  meta: {
    title: 'storeCenter',
    icon: 'chart'
  },
  children: [
    {
      path: 'storeHouse',
      component: () => import(/* webpackChunkName: "storeHouse" */ '@/views/storeCenter/storeHouse.vue'),
      name: 'storeHouse',
      meta: {
        title: 'storeHouse',
        noCache: true
      }
    },

    {
      path: 'inventoryCheck',
      component: () => import(/* webpackChunkName: "bar-chart" */  '@/views/storeCenter/inventoryCheck.vue'),
      name: 'inventoryCheck',
      meta: {
        title: 'inventoryCheck',
        noCache: true
      }
    },


  ]
}

export default storeRouter
